<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxRecentFiles Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_recent_files.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#signals">Signale</a> &#124;
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="classcutex_1_1_qx_recent_files-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxRecentFiles Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Die Klasse QxRecentFiles verwaltet eine Liste zuletzt verwendeter Dateien.  
 <a href="classcutex_1_1_qx_recent_files.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxrecentfiles_8h_source.html">qxrecentfiles.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxRecentFiles:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_recent_files.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signale</h2></td></tr>
<tr class="memitem:a7bfefcb9ac850f851d3a6c58b4ea775e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#a7bfefcb9ac850f851d3a6c58b4ea775e">filesChanged</a> ()</td></tr>
<tr class="separator:a7bfefcb9ac850f851d3a6c58b4ea775e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a4542c85787183dfc01458afae4bddf69"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#a4542c85787183dfc01458afae4bddf69">QxRecentFiles</a> (int <a class="el" href="classcutex_1_1_qx_recent_files.html#adf040ae0ccaa98c3bd0879816eec6029">maxFiles</a>=8)</td></tr>
<tr class="separator:a4542c85787183dfc01458afae4bddf69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6cec968ec8d5252f8436182a348764e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#ad6cec968ec8d5252f8436182a348764e">QxRecentFiles</a> (QMenu *<a class="el" href="classcutex_1_1_qx_recent_files.html#ad7f1561a1f118a073e755a1c0072a100">menu</a>, int <a class="el" href="classcutex_1_1_qx_recent_files.html#adf040ae0ccaa98c3bd0879816eec6029">maxFiles</a>=8)</td></tr>
<tr class="separator:ad6cec968ec8d5252f8436182a348764e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7d6b670f224e82eb21b40e0a3aae0fd"><td class="memItemLeft" align="right" valign="top">QStringList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#ad7d6b670f224e82eb21b40e0a3aae0fd">files</a> ()</td></tr>
<tr class="separator:ad7d6b670f224e82eb21b40e0a3aae0fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a869775f0541a53849f63657b717d6c7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#a869775f0541a53849f63657b717d6c7a">setFiles</a> (const QStringList &amp;<a class="el" href="classcutex_1_1_qx_recent_files.html#ad7d6b670f224e82eb21b40e0a3aae0fd">files</a>)</td></tr>
<tr class="separator:a869775f0541a53849f63657b717d6c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf040ae0ccaa98c3bd0879816eec6029"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#adf040ae0ccaa98c3bd0879816eec6029">maxFiles</a> () const</td></tr>
<tr class="separator:adf040ae0ccaa98c3bd0879816eec6029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b84b96d5cbc4ea72ba3805597650964"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#a3b84b96d5cbc4ea72ba3805597650964">setMaxFiles</a> (int <a class="el" href="classcutex_1_1_qx_recent_files.html#adf040ae0ccaa98c3bd0879816eec6029">maxFiles</a>)</td></tr>
<tr class="separator:a3b84b96d5cbc4ea72ba3805597650964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f1561a1f118a073e755a1c0072a100"><td class="memItemLeft" align="right" valign="top">QMenu *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#ad7f1561a1f118a073e755a1c0072a100">menu</a> ()</td></tr>
<tr class="separator:ad7f1561a1f118a073e755a1c0072a100"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff64ebc4b977b471f0ca2f8b8c1cc22c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_recent_files.html#aff64ebc4b977b471f0ca2f8b8c1cc22c">setMenu</a> (QMenu *<a class="el" href="classcutex_1_1_qx_recent_files.html#ad7f1561a1f118a073e755a1c0072a100">menu</a>)</td></tr>
<tr class="separator:aff64ebc4b977b471f0ca2f8b8c1cc22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a2d163b3874d69f03d97b447198bb602c"><td class="memItemLeft" align="right" valign="top"><a id="a2d163b3874d69f03d97b447198bb602c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateMenu</b> ()</td></tr>
<tr class="separator:a2d163b3874d69f03d97b447198bb602c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:a964a4b095830d2c2da2fbbc83c24251e"><td class="memItemLeft" align="right" valign="top"><a id="a964a4b095830d2c2da2fbbc83c24251e"></a>
QStringList&#160;</td><td class="memItemRight" valign="bottom"><b>m_files</b></td></tr>
<tr class="separator:a964a4b095830d2c2da2fbbc83c24251e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3ba1b25d93637e68a8cc9015c5a4dac"><td class="memItemLeft" align="right" valign="top"><a id="aa3ba1b25d93637e68a8cc9015c5a4dac"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>m_maxFiles</b></td></tr>
<tr class="separator:aa3ba1b25d93637e68a8cc9015c5a4dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae89e4a5546ad1545850a34cca7f3c517"><td class="memItemLeft" align="right" valign="top"><a id="ae89e4a5546ad1545850a34cca7f3c517"></a>
QMenu *&#160;</td><td class="memItemRight" valign="bottom"><b>m_menu</b></td></tr>
<tr class="separator:ae89e4a5546ad1545850a34cca7f3c517"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Die Klasse QxRecentFiles verwaltet eine Liste zuletzt verwendeter Dateien. </p>
<p>Die Klasse QxRecentFiles wird von <a class="el" href="classcutex_1_1_qx_main_window.html" title="Die Klasse QxMainWindow vereinfacht die Implementierung von Hauptfenstern.">QxMainWindow</a> zur Verwaltung der Liste zuletzt verwendeter Dateien verwendet. Eine Instanz dieser Klasse kann dem Hauptfenster zugewiesen und mit einem Menü verbunden werden. Die Aktualisierung des verbundenen Menüs erfolgt automatisch.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_main_window.html" title="Die Klasse QxMainWindow vereinfacht die Implementierung von Hauptfenstern.">QxMainWindow</a> </dd></dl>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="a4542c85787183dfc01458afae4bddf69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4542c85787183dfc01458afae4bddf69">&#9670;&nbsp;</a></span>QxRecentFiles() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxRecentFiles::QxRecentFiles </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxFiles</em> = <code>8</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt eine Liste zuletzt verwendeter Dateien. Die maximale Anzahl der Dateien kann in <em>maxFiles</em> angegeben werden. </p>

</div>
</div>
<a id="ad6cec968ec8d5252f8436182a348764e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6cec968ec8d5252f8436182a348764e">&#9670;&nbsp;</a></span>QxRecentFiles() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxRecentFiles::QxRecentFiles </td>
          <td>(</td>
          <td class="paramtype">QMenu *&#160;</td>
          <td class="paramname"><em>menu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxFiles</em> = <code>8</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt eine Liste zuletzt verwendeter Dateien und verbindet diese mit dem Menü <em>menu</em>, wodurch dieses automatisch aktualisiert wird. Die maximale Anzahl der Dateien kann in <em>maxFiles</em> angegeben werden. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="ad7d6b670f224e82eb21b40e0a3aae0fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7d6b670f224e82eb21b40e0a3aae0fd">&#9670;&nbsp;</a></span>files()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList QxRecentFiles::files </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt die zuletzt verwendeten Dateien zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#a869775f0541a53849f63657b717d6c7a">setFiles(const QStringList &amp;files)</a> </dd></dl>

</div>
</div>
<a id="a7bfefcb9ac850f851d3a6c58b4ea775e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfefcb9ac850f851d3a6c58b4ea775e">&#9670;&nbsp;</a></span>filesChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QxRecentFiles::filesChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Das Signal wird ausgelöst wenn sich die Liste der zuletzt verwendeten Dateien geändert hat. </p>

</div>
</div>
<a id="adf040ae0ccaa98c3bd0879816eec6029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf040ae0ccaa98c3bd0879816eec6029">&#9670;&nbsp;</a></span>maxFiles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QxRecentFiles::maxFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt die maximale Anzahl der Dateien zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#a3b84b96d5cbc4ea72ba3805597650964">setMaxFiles(int maxFiles)</a> </dd></dl>

</div>
</div>
<a id="ad7f1561a1f118a073e755a1c0072a100"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7f1561a1f118a073e755a1c0072a100">&#9670;&nbsp;</a></span>menu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMenu * QxRecentFiles::menu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt das mit der Liste zuletzt verwendeter Dateien verbundene Menü zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#aff64ebc4b977b471f0ca2f8b8c1cc22c">setMenu(QMenu *menu)</a> </dd></dl>

</div>
</div>
<a id="a869775f0541a53849f63657b717d6c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a869775f0541a53849f63657b717d6c7a">&#9670;&nbsp;</a></span>setFiles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxRecentFiles::setFiles </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>files</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Aktualisiert die Liste zuletzt verwendeter Dateien mit der Liste <em>files</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#ad7d6b670f224e82eb21b40e0a3aae0fd">files()</a> </dd></dl>

</div>
</div>
<a id="a3b84b96d5cbc4ea72ba3805597650964"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b84b96d5cbc4ea72ba3805597650964">&#9670;&nbsp;</a></span>setMaxFiles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxRecentFiles::setMaxFiles </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxFiles</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt die maximale Anzahl der Dateien.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#adf040ae0ccaa98c3bd0879816eec6029">maxFiles()</a> </dd></dl>

</div>
</div>
<a id="aff64ebc4b977b471f0ca2f8b8c1cc22c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff64ebc4b977b471f0ca2f8b8c1cc22c">&#9670;&nbsp;</a></span>setMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxRecentFiles::setMenu </td>
          <td>(</td>
          <td class="paramtype">QMenu *&#160;</td>
          <td class="paramname"><em>menu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verbindet die Liste zuletzt verwendeter Dateien mit dem Menü <em>menu</em>, wodurch dieses automatisch aktualisiert wird.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_recent_files.html#ad7f1561a1f118a073e755a1c0072a100">menu()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_recent_files.html">QxRecentFiles</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
